/**
 * Project: ld.biz.service
 * 
 * File Created at 2012-9-28
 * $Id$
 * 
 * Copyright 1999-2100 Alibaba.com Corporation Limited.
 * All rights reserved.
 *
 * This software is the confidential and proprietary information of
 * Alibaba Company. ("Confidential Information").  You shall not
 * disclose such Confidential Information and shall use it only in
 * accordance with the terms of the license agreement you entered into
 * with Alibaba.com.
 */
package com.liangdev.biz.dao.common;

import java.util.List;

import com.liangdev.biz.entity.autocode.FieldMetaData;

/**
 * TODO Comment of DbDataQueryService
 * 
 * @author chongan.wangca
 */
public interface DbDataQueryDao {

    /**
     * 查询数据
     * 
     * @param dbInfoId
     * @param tableName
     * @param sql
     * @return
     * @throws Exception
     */
    public List<List<FieldMetaData>> queryData(Long dbInfoId, String tableName, String sql)
            throws Exception;

}
